package pers.lance.interceptor.pojo;

/**
 * @ Author     ：LILA3
 * @ Date       ：Created in 3:16 PM 7/25/2018
 */
public class User {
    private String username;
    private String password;

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public boolean equals(Object obj) {
        return ((User)obj).getPassword().equals(password) && ((User)obj).getUsername().equals(username);
    }
}
